import { NgModule } from '@angular/core';

import { ShareModule } from './share.module';
import { AssetRoutingModule } from '../router/asset';
import { AssetService } from '../service/AssetService';
import { DeliverService } from '../service/DeliverService';

import { AssetListComponent } from '../components/assetList/assetList';
import { AssetAddComponent } from '../components/assetAdd/assetAdd';
import { AssignUpdateComponent } from '../components/assignUpdate/assignUpdate';
import { AssignHistoryComponent } from '../components/assignHistory/assignHistory';
import { ChangeHistoryComponent } from '../components/changeHistory/changeHistory';
import { FileUploadModule } from 'ng2-file-upload';
@NgModule({
  imports: [
    ShareModule,
    AssetRoutingModule,
    FileUploadModule
  ],
  providers: [
    AssetService,
    DeliverService
  ],
  declarations: [
    AssetListComponent,
    AssetAddComponent,
    AssignUpdateComponent,
    AssignHistoryComponent,
    ChangeHistoryComponent,
  ],
  entryComponents: [
    AssetAddComponent,
    AssignUpdateComponent,
    AssignHistoryComponent,
    ChangeHistoryComponent
  ]
})
export class AssetModule { }
